home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 March / pcp161b.iso / handson / archive / Issue153 / java / using other compilers.txt < prev    next >
Encoding:
Text File  |  1999-04-05  |  1.2 KB  |  38 lines

  1. These are descriptions of how to compile and run each of the applets using the 
  2. JDeveloper and Java Cafe IDEs. Other IDEs should be very similar.
  3.  
  4. Oracle JDeveloper/Inprise(Borland) JBuilder
  5. -------------------------------------------
  6.  
  7. 1. Create a new empty project on your hard drive. Copy all the example source, html
  8.    and gif files into the project directory.
  9.  
  10. 2. Open one of the .java files in a text editor and copy the contents to the
  11.    clipboard.
  12.  
  13. 3. Choose "File/New" from the menu and create a new class with an appropriate name
  14.    (e.g. "Lake" for the Lake.java file) without a package name
  15.  
  16. 4. Replace all of the code in the .java file that is created with the code you
  17.    have on the clipboard.
  18.  
  19. 5. Include the appropriate web page and image file into the project.
  20.  
  21. 6. Build all files and open the web page.
  22.  
  23.  
  24.  
  25. Java Cafe
  26. ---------
  27.  
  28. 1. Create a folder called c:\copyarea on your hard disk and start Cafe PDE
  29.  
  30. 2. Create a new empty project
  31.  
  32. 3. Save the project to your new folder (c:\copyarea)
  33.  
  34. 4. Choose "Insert/Files into project..." from the menu and insert the 
  35.    .java files into the project
  36.  
  37. 6. Build all files and open the index.html file
  38.